package com.seed.core.builder.pojo;

import com.seed.core.enumeration.SqlOp;

public class WhereCondition1 {
    private final Table1 table;
    private final String column;
    private final SqlOp op;
    private Object value;

    public WhereCondition1(Table1 table, String column, SqlOp op) {
        this.table = table;
        this.column = column;
        this.op = op;
    }

    public WhereCondition1(Table1 table, String column, SqlOp op, Object value) {
        this.table = table;
        this.column = column;
        this.op = op;
        this.value = value;
    }

    public Table1 getTable() {
        return table;
    }

    public String getColumn() {
        return column;
    }

    public SqlOp getOp() {
        return op;
    }

    public Object getValue() {
        return value;
    }
}
